package test3_17.PersonData;

public class Officials extends Adult{
    /*
    官员则继承自成人，多包含党派、职务两项数据。
     */
    private String Party;
    private String Job;

    public Officials(String ID, String birthDate, String name, String education, String occupation, String party, String job) {
        super(ID, birthDate, name, education, occupation);
        Party = party;
        Job = job;
    }

    public String getParty() {
        return Party;
    }

    public void setParty(String party) {
        Party = party;
    }

    public String getJob() {
        return Job;
    }

    public void setJob(String job) {
        Job = job;
    }
}
